package com.fortune.controller.app;

import com.faneui.common.exception.BusinessException;
import com.fortune.controller.AbstractController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping("appindex")
public class AppIndexController extends AbstractController {

    @RequestMapping(value = "", method = RequestMethod.GET)
    public ModelAndView indexOfAll() throws BusinessException {
        ModelAndView mv = new ModelAndView("applogin");
        mv.addObject("menuFlag", "applogin");
        return mv;
    }

}
